package com.bbx.api.sdk.model.passanger.Return.Jmsg;

import java.util.List;

import com.bbx.api.util.CutNameUtils;

/**
 * 在线消息跟离线消息公用
 */
public class Msgs {
	public String to;
	public String id;
	/** 到期时间 */
	public String expire;
	public String time;
	public String sn;
	public Data data;
	public String from;
	public int type;

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getExpire() {
		return expire;
	}

	public void setExpire(String expire) {
		this.expire = expire;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public Data getData() {
		return data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
	public class Data{
		public int drivercnt; 
		public String order_id;
		public int order_status;
		public String reason;
		public String msg;
		public String driver_id;
		public String driver_name;
		public String car_NO;
		public String driver_phone;
		public double star;
		public String text;
		public String type;
		public int order_type;
		public int count;
		public double old_price;
		public double new_price;
		public double old_mile_price;
		public double new_mile_price;
		public double old_time_price;
		public double new_time_price;
		/**公务车的汽车类型*/
		public String vtype;
		/**公务车的审核结果0驳回，1通过*/
		public String result;
		/**公务车的地图价格更新*/
		public MapPriceDetail price_detail;
		/**公务车更改往返*/
		public String round_trip;
		/**公务车AA到的消息内容*/
		public String content;
		public String getOrder_id() {
			return order_id;
		}

		public void setOrder_id(String order_id) {
			this.order_id = order_id;
		}
		public int getOrder_status() {
			return order_status;
		}

		public void setOrder_status(int order_status) {
			this.order_status = order_status;
		}
		public String getReason() {
			return reason;
		}

		public void setReason(String reason) {
			this.reason = reason;
		}
		public String getMsg() {
			return msg;
		}

		public void setMsg(String msg) {
			this.msg = msg;
		}
		public String getDriver_id() {
			return driver_id;
		}

		public void setDriver_id(String driver_id) {
			this.driver_id = driver_id;
		}
		public String getDriver_name() {
			return CutNameUtils.getcutSurname(driver_name);
		}

		public void setDriver_name(String driver_name) {
			this.driver_name = driver_name;
		}
		public String getCar_NO() {
			return car_NO;
		}

		public void setCar_NO(String car_NO) {
			this.car_NO = car_NO;
		}
		public String getDriver_phone() {
			return driver_phone;
		}

		public void setDriver_phone(String driver_phone) {
			this.driver_phone = driver_phone;
		}
		public double getDriver_star() {
			return star;
		}

		public void setDriver_star(double star) {
			this.star = star;
		}
		public String getText() {
			return text;
		}

		public void setText(String text) {
			this.text = text;
		}
		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}
		public String getResult() {
			return result;
		}

		public void setResult(String result) {
			this.result = result;
		}
		public MapPriceDetail getPriceDetail(){
			return price_detail;
		}
		public void setPriceDetail(MapPriceDetail price_detail){
			this.price_detail=price_detail;
		}
		public String getRound_trip(){
			return round_trip;
		}
		public void setRound_trip(String  round_trip){
			this.round_trip=round_trip;
		}
		public String getVType() {
			return vtype;
		}

		public void setVType(String vtype) {
			this.vtype = vtype;
		}
		public String getContent() {
			return content;
		}

		public void setContent(String content) {
			this.content = content;
		}
		public int getDrivercnt() {
			return drivercnt;
		}

		public void setDrivercnt(int drivercnt) {
			this.drivercnt = drivercnt;
		}
	}
}
